package com.obas.business.analogy.service.impl;

import com.obas.business.analogy.service.KpiAccumulateAnalogyProcessService;
import com.obas.business.analogy.vo.AnalogyContextParam;

public class KpiAccumulateAnalogyProcessServiceImpl extends AbstractAnalogyProcessServiceImpl<AnalogyContextParam> implements KpiAccumulateAnalogyProcessService {

	static class Operation {
		static String insertSummation = "insertSummation";
	}

	public void process(AnalogyContextParam analogyContextParam) {
//
//		analogyContextParam.setProcessDimensionType(ProcessDimensionType.KPI_ACCUMULATE);
//
//		String tableName = AnalogyTableNameUtil.tableName(analogyContextParam);
//		Date batchTimestamp = analogyContextParam.getBatchTimestamp();
//
//		MapParameter parameter = new MapParameter();
//		parameter.put("tableName", tableName);
//		parameter.put("sequenceName", AnalogyTableNameUtil.sequenceName(tableName));
//
//		String sourceTableName = AnalogyTableNameUtil.tableName(analogyContextParam.getAnalogyDimensionType(), analogyContextParam.getTimeDimensionType(), ProcessDimensionType.KPI_STANDARD);
//		parameter.put("sourceTableName", sourceTableName);
//		parameter.put(DimensionAttributeType.BATCHTIMESTAMP.getCode(), batchTimestamp);
//
//		this.getJdbcTemplateDataAccessObject().execute(statement(Operation.insertSummation, parameter), parameter);

	}

}
